from django.conf.urls.defaults import *
from django.conf import settings
import os.path

import views
#admin.autodiscover()

urlpatterns = patterns('',
#     (r'^admin/(.*)', admin.site.root),
     
    url(
        regex   = r'^$', 
        view    = views.sorteo,
        name    = 'sorteo',
        ), 
        
)

urlpatterns += patterns('',
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': os.path.join(os.path.dirname(__file__), 'site_media')}),
)